//package com.maduar.demo.client;
//
//import com.maduar.demo.User;
//import com.maduar.demo.util.Result;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.http.HttpEntity;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
///**
// * Description:
// *
// * @author maduar maduar@163.com
// * @date 2021-05-12 18:00
// */
//@FeignClient(name = "${spring.application.name}")
//public interface RemoteClient {
//
//    @GetMapping("getUser")
//    HttpEntity<Result<User>> getUser(@RequestParam("name") String name,
//                                            @RequestParam("age") int age);
//}
